//
//  BaseMessageVc.swift
//  Pods
//
//  Created by eme on 2017/4/10.
//
//

import UIKit
import UtilCore

class BaseMessageVc: SliderViewController {
    
    override func viewDidLoad() {
        
        for index in 0...2{
            let collect:Message_Vc = SansaCore.storyboard.instantiateViewController()
            collect.messageIndex = index
            self.contentViewControllers.append(collect)
        }
        self.titleTexts = ["交易物流","投诉意见","系统消息"]
        currentIndex = 0
        
        super.viewDidLoad()
        self.title = "我的消息"
        self.tabBarController?.tabBar.isHidden = true
        self.navigationController?.setNavigationBarHidden(false, animated: true)
        self.automaticallyAdjustsScrollViewInsets = false
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }

}
